package com.eke.bean;
import java.sql.Timestamp;
import com.jason.dbhelper2.annotations.Column;
import com.jason.dbhelper2.annotations.Table;
@Table("users")	
public class Users {
	/**
	 * 用户id
	 *
	 */
	@Column("user_id")	
	private Integer userId;
	/**
	 * 用户角色ID
	 *
	 */
	@Column("user_role_id")	
	private Integer userRoleId;
	/**
	 * 登录用户名
	 *
	 */
	@Column("user_name")	
	private String userName;
	/**
	 * 密码
	 *
	 */
	@Column("user_pwd")	
	private String userPwd;
	/**
	 * 性别
	 *
	 */
	@Column("user_sex")	
	private Integer userSex;
	/**
	 * 头像
	 *
	 */
	@Column("user_photo")	
	private String userPhoto;
	/**
	 * 签名(个人简介）
	 *
	 */
	@Column("user_autograph")	
	private String userAutograph;
	/**
	 * 手机号码
	 *
	 */
	@Column("user_phone")	
	private String userPhone;
	/**
	 * 用户积分
	 *
	 */
	@Column("user_integral")	
	private Integer userIntegral;
	/**
	 * 最后登录时间
	 *
	 */
	@Column("last_login_time")	
	private Timestamp lastLoginTime;
	/**
	 * 地址
	 *
	 */
	@Column("user_address")	
	private String userAddress;
	/**
	 * 创建时间
	 *
	 */
	@Column("create_time")	
	private Timestamp createTime;
	/**
	 * 最后更新时间
	 *
	 */
	@Column("last_update_time")	
	private Timestamp lastUpdateTime;
	/**
	 * 购买记录
	 *
	 */
	@Column("purchase_history_id")	
	private Integer purchaseHistoryId;
	/**
	 * 用户状态（0 销毁 1 未销毁）
	 *
	 */
	@Column("user_state")	
	private Integer userState;
	/**
	 * 
	 *
	 */
	@Column("user_email")	
	private String userEmail;
	/**
	 * 
	 *
	 */
	@Column("course_id")	
	private Integer courseId;
	public Users(){
	}
	public Users(Integer userId){
		this.userId=userId;
	}
	public Users(Integer userId,Integer userRoleId){
		this.userId=userId;
		this.userRoleId=userRoleId;
	}
	public Users(Integer userId,Integer userRoleId,String userName){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress,Timestamp createTime){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
		this.createTime=createTime;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress,Timestamp createTime,Timestamp lastUpdateTime){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
		this.createTime=createTime;
		this.lastUpdateTime=lastUpdateTime;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress,Timestamp createTime,Timestamp lastUpdateTime,Integer purchaseHistoryId){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
		this.createTime=createTime;
		this.lastUpdateTime=lastUpdateTime;
		this.purchaseHistoryId=purchaseHistoryId;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress,Timestamp createTime,Timestamp lastUpdateTime,Integer purchaseHistoryId,Integer userState){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
		this.createTime=createTime;
		this.lastUpdateTime=lastUpdateTime;
		this.purchaseHistoryId=purchaseHistoryId;
		this.userState=userState;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress,Timestamp createTime,Timestamp lastUpdateTime,Integer purchaseHistoryId,Integer userState,String userEmail){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
		this.createTime=createTime;
		this.lastUpdateTime=lastUpdateTime;
		this.purchaseHistoryId=purchaseHistoryId;
		this.userState=userState;
		this.userEmail=userEmail;
	}
	public Users(Integer userId,Integer userRoleId,String userName,String userPwd,Integer userSex,String userPhoto,String userAutograph,String userPhone,Integer userIntegral,Timestamp lastLoginTime,String userAddress,Timestamp createTime,Timestamp lastUpdateTime,Integer purchaseHistoryId,Integer userState,String userEmail,Integer courseId){
		this.userId=userId;
		this.userRoleId=userRoleId;
		this.userName=userName;
		this.userPwd=userPwd;
		this.userSex=userSex;
		this.userPhoto=userPhoto;
		this.userAutograph=userAutograph;
		this.userPhone=userPhone;
		this.userIntegral=userIntegral;
		this.lastLoginTime=lastLoginTime;
		this.userAddress=userAddress;
		this.createTime=createTime;
		this.lastUpdateTime=lastUpdateTime;
		this.purchaseHistoryId=purchaseHistoryId;
		this.userState=userState;
		this.userEmail=userEmail;
		this.courseId=courseId;
	}
	/**
	 * 获取用户id
	 */
	public Integer getUserId(){
		return userId;
	}
	/**
	 * 设置用户id
	 */
	public void setUserId(Integer userId){
		this.userId=userId;
	}
	/**
	 * 获取用户角色ID
	 */
	public Integer getUserRoleId(){
		return userRoleId;
	}
	/**
	 * 设置用户角色ID
	 */
	public void setUserRoleId(Integer userRoleId){
		this.userRoleId=userRoleId;
	}
	/**
	 * 获取登录用户名
	 */
	public String getUserName(){
		return userName;
	}
	/**
	 * 设置登录用户名
	 */
	public void setUserName(String userName){
		this.userName=userName;
	}
	/**
	 * 获取密码
	 */
	public String getUserPwd(){
		return userPwd;
	}
	/**
	 * 设置密码
	 */
	public void setUserPwd(String userPwd){
		this.userPwd=userPwd;
	}
	/**
	 * 获取性别
	 */
	public Integer getUserSex(){
		return userSex;
	}
	/**
	 * 设置性别
	 */
	public void setUserSex(Integer userSex){
		this.userSex=userSex;
	}
	/**
	 * 获取头像
	 */
	public String getUserPhoto(){
		return userPhoto;
	}
	/**
	 * 设置头像
	 */
	public void setUserPhoto(String userPhoto){
		this.userPhoto=userPhoto;
	}
	/**
	 * 获取签名(个人简介）
	 */
	public String getUserAutograph(){
		return userAutograph;
	}
	/**
	 * 设置签名(个人简介）
	 */
	public void setUserAutograph(String userAutograph){
		this.userAutograph=userAutograph;
	}
	/**
	 * 获取手机号码
	 */
	public String getUserPhone(){
		return userPhone;
	}
	/**
	 * 设置手机号码
	 */
	public void setUserPhone(String userPhone){
		this.userPhone=userPhone;
	}
	/**
	 * 获取用户积分
	 */
	public Integer getUserIntegral(){
		return userIntegral;
	}
	/**
	 * 设置用户积分
	 */
	public void setUserIntegral(Integer userIntegral){
		this.userIntegral=userIntegral;
	}
	/**
	 * 获取最后登录时间
	 */
	public Timestamp getLastLoginTime(){
		return lastLoginTime;
	}
	/**
	 * 设置最后登录时间
	 */
	public void setLastLoginTime(Timestamp lastLoginTime){
		this.lastLoginTime=lastLoginTime;
	}
	/**
	 * 获取地址
	 */
	public String getUserAddress(){
		return userAddress;
	}
	/**
	 * 设置地址
	 */
	public void setUserAddress(String userAddress){
		this.userAddress=userAddress;
	}
	/**
	 * 获取创建时间
	 */
	public Timestamp getCreateTime(){
		return createTime;
	}
	/**
	 * 设置创建时间
	 */
	public void setCreateTime(Timestamp l){
		this.createTime=l;
	}
	/**
	 * 获取最后更新时间
	 */
	public Timestamp getLastUpdateTime(){
		return lastUpdateTime;
	}
	/**
	 * 设置最后更新时间
	 */
	public void setLastUpdateTime(Timestamp lastUpdateTime){
		this.lastUpdateTime=lastUpdateTime;
	}
	/**
	 * 获取购买记录
	 */
	public Integer getPurchaseHistoryId(){
		return purchaseHistoryId;
	}
	/**
	 * 设置购买记录
	 */
	public void setPurchaseHistoryId(Integer purchaseHistoryId){
		this.purchaseHistoryId=purchaseHistoryId;
	}
	/**
	 * 获取用户状态（0 销毁 1 未销毁）
	 */
	public Integer getUserState(){
		return userState;
	}
	/**
	 * 设置用户状态（0 销毁 1 未销毁）
	 */
	public void setUserState(Integer userState){
		this.userState=userState;
	}
	/**
	 * 获取
	 */
	public String getUserEmail(){
		return userEmail;
	}
	/**
	 * 设置
	 */
	public void setUserEmail(String userEmail){
		this.userEmail=userEmail;
	}
	/**
	 * 获取
	 */
	public Integer getCourseId(){
		return courseId;
	}
	/**
	 * 设置
	 */
	public void setCourseId(Integer courseId){
		this.courseId=courseId;
	}
	
		

	@Override
	public String toString() {
		return "Users [userId=" + userId+",userRoleId=" + userRoleId+",userName=" + userName+",userPwd=" + userPwd+",userSex=" + userSex+",userPhoto=" + userPhoto+",userAutograph=" + userAutograph+",userPhone=" + userPhone+",userIntegral=" + userIntegral+",lastLoginTime=" + lastLoginTime+",userAddress=" + userAddress+",createTime=" + createTime+",lastUpdateTime=" + lastUpdateTime+",purchaseHistoryId=" + purchaseHistoryId+",userState=" + userState+",userEmail=" + userEmail+",courseId=" + courseId+"]";
	}
	





}